<template>
<div>
  <div>
    <van-nav-bar title="景区列表" left-text="返回" left-arrow @click-left="back()">

    </van-nav-bar>
  </div>
  <div>
  </div>
  <div>
    <div class="dv1" v-for="a in attdtos">
      <van-row>

          <img class="img1" :src="a.imgurl">
          <div class="hh">{{a.info}}</div>
      </van-row>
    </div>
  </div>
</div>
</template>

<script>
export default {

  name: "AttView",

  data(){
    return{
      attdtos:{
      },
    }
  },

  mounted() {
this.axios.get("api/attdto/selectById.do?id="+this.$route.query.id).then((r)=>{
      if(r.data.code==200){
        this.attdtos=r.data.data;
      }
    })
  },
  methods:{
    back(){
      history.back()
    },



  }
}
</script>

<style scoped>
.dv1{
  width: 90%;
  margin-left: 5%;
  margin-bottom: 10px;
}

.img1{
  width: 100%;
  height: 100%;
  margin-left: 0%;
  margin-right: 0%;
}
.hh{
  width: 90%;
  margin-left: 5%;
  margin-bottom: 10px;
}
</style>